package com.xiaoshuidi.cloud.module.finance.controller.app.finance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "租客 APP - 账户充值 Request VO")
@EqualsAndHashCode
@Data
public class AppFinanceAccountRechargeReqVO {
    @Schema(description = "会员id/企业id")
    private String custId;
    @Schema(description = "账户类型INDIVIDUAL个人/COMPANY企业/ROOM房屋")
    private String custType;
    @Schema(description = "充值金额")
    @NotNull(message = "充值金额不能为空")
    @Min(value = 0, message = "充值金额必需大于0")
    private BigDecimal rechargeAmount;
}
